package com.fl.nj.entity;

import lombok.Data;
import java.util.Date;

/**
 * 数据库配置实体类
 * 用于映射到数据库表，存储数据库连接配置信息
 */
@Data
public class DatabaseConfig {
    private Long id;
    private String configName;
    private String dbType;
    private String url;
    private String username;
    private String password;
    private String driverClassName;
    private int maximumPoolSize = 10;
    private int minimumIdle = 5;
    private long connectionTimeout = 30000;
    private long idleTimeout = 600000;
    private long maxLifetime = 1800000;
    private Long deviceId;
    private Date createTime;
    private Date updateTime;
}